added methods to NOResourceProtocol