Changed module return type to object.