utility functions for dealing with Range and Properties elements.