Downgrade the required version to 2.6
Missing setType