Changed method names to match the functionality.