Removing admin class causing views issues