Converted List of commands to a Dictionary for easier lookup.
Added ParameterException throwing in callbacks.