Make classes configurable (fixes #23)