Refactors creating and editing characters