Flesh out pipelining a little more, so that it can be extended later.