Implemented passing the platform parameter through to submodules