Add even more category parsing to predb templates.