Added methods to apply behaviours to an element