Added takes decorator to object commands.