Added resource methods.