Explicit type hints.

Also added comments in code for a potential glitch that needs fixing.
1.0.0-beta.4