Add access to IntervalType through the api
Merge remote-tracking branch 'origin/master'