add inheritance between custom types and parameters definitions