EXP-227. Moves TimeRange case classes out of package object.