Changed visibility of getters to public.