Only add plugin functions needed for test cases