removed static constructor from class template