Extract private methods