Add purescript support