Whitespace clean-up.
Compile flags ready for nested PTs.
Typo fixed.
Better meta integration.
Many types and code added and moved from basic_utils.