Make attributes method public.