Added logAliases() method.