:gb: Implemented inheritance correctly for Behaviours and Integrators