Correct visibility of static constructor