Remove all references to function-based generic views