Fixing warnings not related to unused stuff.
implement a basic command deinit