Less verbose fetch_code