Good question: Can't remember why I added this. Tested without AttributeError and it works. So I think we can eliminate this AttributeError if you want. (@roland: Can you do it with your last changes?)