Performance tweaking of getters/setters