Fixed slight issue with constructor resolution