Reduce number of exported symbols (e.g. _static_closure)

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Implementation of resource containers, but hard-wired to only use one.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>