Added overloaded constructor to support backwards compatibility with string parameters