Added 2 methods that were not present before.