If data is not provided, pass None instead of ''.