Fix parser's bug. Remove all deprecated code. Make parser more according to the specification.
Fix package bug too.