Added event onAfterTrash to trashable behavior. toAttrArray can define custom function, default 'getAttributes' so interface is the same