class attributes are usually defined before any method. This may sound like nitpicking, but I think it improved the readability if you consequently put all the attribute definitions before all method definitions.