Add helper class for registering blocks