Split function inspections to separate inspections (fixes #406)