Diagnostics, gels and emulsions