I agree with you about the quirkiness of prepositions, but do these two words in question function as prepositions?