.reverse property is deprecated

Import as locally as possible (especially in a static if as it will prevent the import to kick in if not used).