Allow passing of local variables to getters