Added data accessor method.