Added data() method.
Changes