Simplifying directive example