Slight change to def:type to get it working