Add extension method in getCMSFields()

Add extension method in getCMSFields()