Removes Shared require (dunno why not coming through) and replaces with duplicated code :( (For #1)