remove nil in NullType#ref.

Return Nil is implicit in a method and this syntax is used in the others
classes