Added assertion for mime helper