Removing dependency on smoosh