document methods and cleanup - git fix #10