Make default params type to an object instead of null