A selfadjoint formulation of overdamped systems