Fixed bugs with role creation, migrations, installation, and validation.