Add signature switching and profiling functionality