Updated NullaryUnit

Closer to scala's implementation. It avoids warning on things like parametrized
methods.