classlib: Fix for Issue #1238

Signed-off-by: Scott Wilson <i@scottwilson.ca>