Adding helper methods to retrieve Directives