Allow adapter passed to a decorator to be defined by prototype specified as a tuple or a string. #33