Docs for style#addCustomHandler.