Replace overrides in gem