Improved obsidian checking.