Added some minor changes to the interface.