chore(warnings): Fix static warnings in a few places