Extending some classes