Hack to prevent duplicate throw statements