Fixed a bug which meant resource.get() wasn't working. Was referencing the dyn lib through @dynect instead of @dyn.