Does endf need its own namespace?  Why not have a class here?