Made some preparations for prepopulation database fields.