Beamer allows optional arguments to theorems, etc, which it would be nice to support. Unfortunately, just adding them to the current layout files fails, because of things like:
LatexName theorem}%{ which leads to code like: \begin{theorem}%{}[Fermat's Theorem] I've removed the hack and all seems well. Anyone know why it's there?
Richard