Changed requirements to 3.1+