Array value implementation.
Updated example to contain array example too.