Added default constructor and setters for conversion from JSON.