Added backward compatibility and bdate parsing.