Improved reduction for declarations

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>