Added ability to register from within backbone.