Changed self and variableacces so it is possible to only parse it once.