Major speedup by ditching gem dependencies