The function only uses the host aspect of the instance and re-fetches the rest from the database anyway, so it does not make sense to require to pass the whole instance object as an argument everywhere.