Structuring Criminal Codes to Perform Their Function