Changing class signatures to work like copy constructors.