Taken to improve the options for extendHandlers, resolve #14