Better argument verification and error messages.
Optimize imports.