Remove deprecation warning for 'aliases' variable