Define options as an object correctly