I've changed the name to 'getGhcMode'. If someone changes it back, please write an explanation above it.