Add a utility method for redstone replacement