make loader responsible for definition loading