Fix types, docblocs, propery access levesls, and missing methods.