Remove EJS dependency.
Fix logging.