Put getAttribute() method as public