Added optional keyword to for_key decorator
Added example for optional keyword