Supporting parameters passed as object literal