adds class interfaces