Added support for logging. Added logging yo BeanUtils.