Use accessor method calls instead of dot syntax
This is to keep consistency in the code.