Changed scope of mParentSize from private to protected and added getters/setters.