Safer code - check that topic is present.