Adding new methods to Application class to handle Allocator.