Changed how blocks are added.