Added a static parse method