Allow configuring options, closes #30