Change allowed attributes and elements