Add begin and end to titles

Signed-off-by: Guilhem Pujol <guilhem.pujol@gmail.com>