Refactor General info fragment code.