Added plugin use.
Fixed issue with primary key in dbdelta.