added utility to generate SPL types #14