Added basic version of set_interval spec.