Don't allow malformed templates that would cause lost bindings.