Added keyOption and status support to collections.

Added keyOption and status support to collections.