Adding more compatibility to anonymoususer class.