Fixed compiler warnings

Removed unnecessary !! operations, ?. calls and "out" declarations.