Some diagnostics methods were added.