Use `common.platform` everywhere.