Add entity dependency