Updated framework to use ARC and added two methods.