Optimized argument inspection. Cleaned up tests.