Made it possible to switch off a couple of expensive features, closing #11.