Better javadoc for register() and onLoad()