Split member declaration scoping into separate function