Migrate away from the depreciated get_profile()