Lots of changes to models including new functionality for usermeta.