Fix schema file installation.
Fix attribute addition and type changing.