by slashrsm: Initial implementation of type plugin.