Minor rewrite of relation extraction