Allow functions accept object literal as an argument