Resolved FIXME: unify create_hosting and create_consuming, to reduce redundancy.