Removed old parse function and added some documentation.