Adds exception throwing method support