Simplified interface, the entire module is a function now.