updated as per jeff's comments, @class used with @name and @lends module:dojo/Stateful#