bug fix: pserveElements has to be defined in class head to be available "globally"

Signed-off-by: Andreas Geibert <ageibert@cemico.de>