Fixed public interface of createFromFormat

Fixes #33