RFObjectPool refactoring as mentioned in #43.

Build fix.