Removed guest_modes and added sources
Ensure the imported pf::config::cached is defined before using it
Added a method for validating ids