Add var type to two methods.