Disable debug methods when production