More fleshed out golang API