Applied newtype magic and resolved linking issue