Prepare wrapper for scala methods (based on reflection)