Less unrelated stuff in castle.js