main: Add support for multiple projection layers.