Add a static parse method