Removed mime registration from initialzer as it was already initailized