Performance improvements getting protected and private fields