Updated to be usable for all multisites using block classes.