Changing caplin.onLoad() to be written after the Alias definition block is written as one of the singletons relies on it