Fixing instruction and IR creation.