Fix random warnings in routes compilation