added fallback to get map components types.