Remove unused section of code