binding classes loose their decorator