Extension handlers now use registerHandler() method.

Issue #384