Added get_public_methods().