Fix #54: some component libraries doesn't override all 3
createResource() methods.