Started implementing argspec validation. See #1 for details.