Made castle resource embedding work.