Changed public fields into getter within interface