Do not extends foreign classes; fix