Added getters and setters to Output class