Adds support for beamer.