Remove dependency on thin