source file per type and local method hacking