Add table argument to shell API for routes