Remove uneeded #to_proc call