Add extensions options

closes #51