Add smarter version of gca. Same as henrik has now.