Prevent instantiating some static-only classes.