Fix abstract managers patching (close #212).