Inline typehints to help profilers.