Return module table instead of a single function