Support callables in proxy_attributes.