Changed package module link to be name based.
Changed define-handler-function to set-handler-function. Added remove-handler-function and define-handler compat.