Convert to generic type.php structure.