Use of `localize` is now deprecated

Signed-off-by: Flavio De Stefano <flavio.destefano@caffeinalab.com>