Added validation to missing @Index instead of weird error message
Fixed invokation target inside invokation target problem and unchecked types
Added throws validation to Actions as well as Hooks, and extracted an util for that
Added missing file from prev commit
Fixed some minor bugs related to prior changes