Moving shoe helpers to dbcontext