Added support for default args

Default arguments for objects are now working fully. ( as far as tested)