Should `application` always be present? Moreover, we only use the id, I'd change it to `application_id`.