Pulled from SmfLite.