Add custom inspection profile
Remove redundant casting