added some javadoc for APIHandler