getModel now part of utils for use everywhere