Add getData() method to publicly expose the protected data object

For background information please read this: Possible Performance and Consistency Issue?
http://goo.gl/XiSLGv