Error: not a valid class specification for static access What to do: make sure to use a type other than NONE.