Added entities saving.