Better error message on extends arg not found