localize sdf to a single definition

@radumereuta please review