Rank has been fixed in DB
Put back len attribute for backward compatibility