Ensure compatibility with old winstone custom classes