Method for clearing handler cache.

This is needed when adding a model dynamically after the rest handler has been cached. In this situation, the model would not be reflected in the handler and would return 404.