compat with new classes