Fix bug with gen-interface classes not being loaded