Add possibility to pass custom options