Port over some useful code for User objects
More useful code for the Post object