Fix options passed to constructor being ignored