Added Sfdip class for Madagascar/Java wrapping.