"""Functions for maintaining compatability with older Python versions or libraries."""