Updated documentation; more minor changes to interface.