Cleanup per Seth's notes.
Use value_for_platform instead of value_for_platform_family. Updated let blocks and other nits from Seth's comments.