Remove obsolete function.
Fix auto field population for user 1.