Fixed NRE when no particular framework is referenced.