Made some small runtime updates and added a new example.