Minor fixes

Here's a set of minor patches, mostly to the `pcl.pyx` file. The commit messages explain what's going on.