refactoring.
refactoring GHCApi.