add ability to extend modify directive parent element type