Modified variables methods to resource_methods