add type hint to ActionController