Adds a new function to return an array of defined models.