Remove constructor from library view if the class is static