New constructors with String and Double object parameters.