Update methods to access values from classes Record and Holder, to be compliant with operator [] in Groovy.