Making container static in order to prevent GC