Sledge #1 Just use the type name as a namespace and use global variables as class variables. Close as you're going to get at the moment, I think.