Fixes broken resolve method.