First stage of converting declarations to a toString implementation.