Refactored ProperteisCustomizer for better code readability.