Changed indexed arguments interface

And also changed the setting of optional boolean interface.