add patch to method types