Added simple auditing functionality.