Migrating lead fields module to a PHP class driven component.