Removes some warnings