Set base if a instance it's a extended class