updated syntax for v0.4 and added Compat requirement for v0.3 compatability
Merge branch 'compatfix'