Small updates to CalStruct.
Deleted obsolete CalAccessFunctions.