Updating for proper module options factory.