Couple of hints from when I did use them the odd time, endermen do not like water so snow/ice or water curtain for walls keep them in at all times, 7x7 is fine but 9x9 works better, if you do not wish to use ice or water a 3 block thick wall/floor/ceiling works fine too, helps stop the odd one...