Added activity stuff.