Added &$args to the first API example as required to prevent erroring