Removed old 'createPassword' function.