Remove invalid @public tag.
Fix up some warnings.