Add mongoid support

This also eliminates having to define `compute_tables`