keep returned type ServletContainer in public API