Consolidate functions for getting schema elements