better library loader now recognizes interfaces as well