The method signature for this should really be `$key = null, $value = null, array $options = array()`, and everything that comes after `$value` should just be flags inside `$options`.