extend external classes