Added better errors to ViewManager