Use traits (php >= 5.4) for cleaner code