Add typehint and missing full stops.

Type hint correction to be consistent with other methods in that class.