Refactored policies into a hash