Added class check for ACF Lite declaration