Setting initial fields.