Added the alter_persistent_properties() method.

Also added some support for multi-column primary keys.