Removed console log function and reference to old view object permission.