Extract model path into a method for reuse