Added getters and setters for the tags.