Better extension error-handling.