only register services that implement correct interfaces