Fix warnings, create endpoint via resolver.