Protect calling methods on non existing DOM element in views.