Remove unused method in panel API.