* Update c extensions and python tests. * Updates. * Documentation fix. * Move c extensions into common_extension.c