Fix require for constants, trim useless fields from banner