Updated functions to use new arrayIdToModel() and incorrect phpDoc