Add throwable constructor