Added comparison functions and function to turn feature objects into lists.