Upate defs to 0.5.0, tag 0.5.0