Extended match API by primitive types