Move fetching logic to its own model.