A somewhat incomplete manual is here.