Added features

Added document merging and object member checking.