Remove getInstance methods from the application.