Added some constant function to the interval stuff.