Optimize command initialization to be close to instant