Allow class extention via static

As per https://github.com/JonoB/formly/pull/3