Improve dynamic attribute definition to easier add disallowed keys.