Automate set_method