Allow to use object as argument