Fixed issue of 'length' import.