Resolving warning about shadowed binding