More attempts to fix trampolines.
Added helper methods for validation to handle error lists.