Don't allow additional kwargs to attributes.

Prevent `attributes()` from silently swallowing any kwargs it doesn't understand.