Use ->on_ready($f), it's neater