documented api methods using grunt-xplain, fixes #1