Added constructor methods to ControllerModel and DeviceModel.