Added resolveRef
Whitespace fixes
Bump version to 0.5.4