Fixed defaultProperties while extending object