Add type to public method.