Remove debug code and unused property.