Added exception throwing.