Removed const to quiet some warnings.