Support setting some locations to always have available_count = 0.
Merge branch 'refactor' into merge