Various to try and get 27025 working.
Changes to support 27039
Changes for 27030.
Changes to support 27047.
Changes to support 27048
Changes for 27049
Merge pull request #171 from roydude/v1-train

v1train