Documentation for the BEMS version 3.8 and earlier