Changes before create to before validate for username generation.