Support rest parameter type annotations

Not too sure what the problem was that led to this being left out. Maybe we just weren't sure what the syntax should be?