Added functions to query utils to help parse features.