Fix type aliases
Finish ptr loader generator!