Fix registration issues caused by indenting