convert code-point-of from a multimethod to a protocol