Added methods from Coding Bat.