Library API misuses