If at all it is in virtue of the genus that these too are spoken of in relation to something: grammar is called knowledge of something (not grammar of something) and music knowledge of something (not music of something).