added readonly versions of the properties to the header and removed unused property