Changes to make the application work correctly.