Refactor nickname stuff.