Basic parsing implementation.