Refactoring product properties and directives.