Directive definition object instead of short definition