Fix fluent interface, fix member() on singular resources, add a test case.