Protected getAttributes()