updated syntax for v0.4 and added Compat Requirement for v0.3 compatability

Helps fix warnings in Gadfly