Allowing object as parameter of message commands