Use new astrolabe api syntax.