Resource and providers

These validations should be done before NaServer.new