Changed to prevent NPE when working with partial configuration where
reading in all the service classes but not all the blocks.