Remove bad api method