Added addSize method. Improved addPath