Some symfony2 traits I end up making all the time.