Replaced Credentials with ICredentials.
Fixed Update/Delete bugs for inheritance.