Added logging capabilities and aspects.