Added keywords and tests. Added multiple arity functions and arity check.