adds streamlined directive element creation