Allow passing options via block