Allowing to set primary key