Added getters and setters. Removed internal value.