Fixe warnings and switch to fast types