Converted the cache in platform_swaying over to a property.