Fixed a mistake in returning callables