Simple stream interface for closure compiler