Recreate getLiterals method for BC