Clear deprecated error in sr (fixes #3)