Added constructor.