Simplified API interface, and added templates for subclassing key
objects. Bumped version to 0.6.