Quick RF API update

I know you are going to do that yourself, but I make this PR to save time. If you think it's wrong you can always close it. Just remember I'm not really used to programming so I can make silly mistakes. After compiling I made a small test and everything should be OK.