Unable to add component-specific behaviours to models