rename proto.extend create

proto.extend is now only used to convert old style Function used a
constructor to proto style constructor.