Added default attribute functionality to activities