Simplified the ContactParser class