Define resources with auto-binded methods that can be called remotely using Primus.