Added "code" field to grid