Fix SMF support