Code cleanup and added isModified api call