Add types for dict methods
Bind class name before type-checking class