Remove dependency on fmt; resolves #4