Remove unused code in drawable