Implement schema primary key etc. pp.