made NullClass and VoidClass singleton