Bundle.calcElements calculates too many #295.

Ignore methods with '$' in their name, as they are compiler generated,
and their semantics are unspecified.