Add apply methods to the List class.