Ssmpnet.dll tidy up for API