The simplest possible solution for clearing the handler cache when registering a model.
Revert "Method for clearing handler cache."

This reverts commit 1424e83c586e5f96f100f9cc4f6dd1fca09b62cd.
Merge branch 'clear-handler-cache2' into gcom-master