Fixed minor bug with accessing the variable directly instead of using getter, which prevented compilation.