Removed isDebugEnabled check