Clean up error handling for record types