Application class must not be final