Clean up compiler initialization a bit.
Better argument validation for some list methods.