Added diagnostic information.