Making custom trait in S4 Studio