Models that came with closed deck block + engine code are:
WRX A/B; EJ20GDW1HD (no A/C), EJ20GDW1HE (with A/C)
STI Ver. I; EJ20GDW1HD (no A/C), EJ20GDW1HE (with A/C)
WRX A Type RA; EJ20GDW1HJ (no A/C), EJ20GDW1HR (with A/C)
WRX B Type RA; EJ20GDW2HJ
WRX C Type RA; EJ20GDW4HJ
WRX STi Ver. II Type RA ; EJ20GDW5PE
Pinched from
http://www.catherineandken.co.uk/sti/engine.html
You got the spending bug already? Went well on way home mate....