Added PlatformController to check whether the platform can be removed.