CRATEIT-151,152 Move crate size functions into Crate file.