Reinstated getVariable old style, removed Serializable though.