Renamed stat package to resource. Trying to get correct methods available
on getResource() call.