joao-mata submitted these extension methods