Removed compiler and documentation warnings.