[#10] Remove needless codes for error handling.