Remove duplicate method.
Fix logging.