First attempt at async calls. Probably borked.