PAHMA-1010: Refactor, set max to 2 for testing.