cleaned up docs and unused methods.