Add utility functions and feature traverser