Changing from specific to generic types in constructors.