Handle use cases of @attribute foo, and @attribute(null) foo.