WIP: Add ancestors. Move the commands to an `api` file