Add support for constructor logging.