Prepare for nested commands