add stub for compiled method