Add attributes to list of PHP class properties.