Add name and block reference.