added class inheritance trait usage check