Most data types now have functional, custom subrefs overrides. Overrode end fuction for all of matlab, find class based solution.