Add BC for older symfony versions, refs #51