Might have fixed bug that was preventing attributes from being set.