Added inline docs and CurrentActivity helper