Changed the methods to array keys