Fixed dependeny warnings, `endpoints` method.