Cleaner IPX class

Code Climate is dangerous