Functions to retrieve models now return pointers.