Added input and output object relations.