Fixed problem with registering hs and lhs file types.