Added functionality for checked and unchecked arguments.