Was returning a string from get_module. Whoops.