Fleshed out inference builder