S.defineProperties of class