changed -performFunction and documented NOResourceProtocol