Change methods to return `ConstMap` instead of `Map`.