Better dependency injection in apps. Re-releasing.