$aliases is a class property not a function-local