Added apiVersion to register blocks
