Preliminary version of pull API.