Move custom directives on top