Revert "allow element and attr injections"

This reverts commit d3702b92b1259ed7cb7e74910a468826f4140326.