Remove redundant getData() method