Improving the mark up prior to DB insertion.