Changed to allow for multiple entities per revision