Remove deprecated mw.Api.errors and mw.Api.warnings