Resolving commands to world objects