sfit: syntax tweaks
sfit: remove unused functions