modified constructors to follow pyrex 0.9.9 convention