Allow empty string for code