Changed some methods according to new Layer type. There is a current bug
where advanced collision layers will load as basic.