Add helpful range conversion functions