FlowActivityImpl: remove unused methods and added comments