Fixed C extension error.