renamed schema attribute related_to to constructor