Added minecart handling.