Replaced properties by get-methods, because properties can be assign to even when readonly