Replace __ with _ to avoid conflicts with magic functions.