Fixed issue with views not resolving correctly.