SMF coding guidelines