Remove duplicate definitions of __enter__ and __exit__