Fixed all compilation errors in CircleEntity.