Removed a few SWIG warnings.