SMF implementation.