BlockHelper code (untested against FML?)